package com.goldfish666.remote_control.dto.common;

import com.goldfish666.remote_control.entity.common.Button;
import com.tuyang.beanutils.annotation.BeanCopySource;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@BeanCopySource(source = Button.class)
public class ButtonDTO implements Serializable {

    protected String id;

    // name
    private String name;

    // command
    private List<CommandDTO> commands;
}
